b26dc81a2a92ab8f3a2cb78ca97dc1c03f516303,com.vainolo.phd.opp.editor/src/com/vainolo/phd/opp/editor/OPPGraphicalEditorContextMenuProvider.java,OPPGraphicalEditorContextMenuProvider,buildContextMenu,#IMenuManager#,28
Before Change
action = getActionRegistry().getAction(OPPToggledProceduralLinkSubkindAction.CONDITIONAL_SUBKIND_ID);
menu.appendToGroup(GEFActionConstants.GROUP_EDIT, action);
action = getActionRegistry().getAction(OPPToggledProceduralLinkSubkindAction.EVENT_SUBKIND_ID);
menu.appendToGroup(GEFActionConstants.GROUP_EDIT, action);
action = getActionRegistry().getAction(OPPToggledProceduralLinkSubkindAction.OPTIONAL_SUBKIND_ID);
menu.appendToGroup(GEFActionConstants.GROUP_EDIT, action);
action = getActionRegistry().getAction(OPPThingInZoomAction.THING_IN_ZOOM_ID);
menu.appendToGroup(GEFActionConstants.GROUP_EDIT, action);
action = getActionRegistry().getAction(OPPToggleThingMultiplicityAction.TOGGLE_MULTIPLICITY_ID);
menu.appendToGroup(GEFActionConstants.GROUP_EDIT, action);
action = getActionRegistry().getAction(OPPToggleStateValueAction.TOGGLE_VALUE_STATE_ID);
After Change
if (action.isEnabled())
menu.appendToGroup(GEFActionConstants.GROUP_EDIT, action);
action = getActionRegistry().getAction(OPPToggledProceduralLinkSubkindAction.OPTIONAL_SUBKIND_ID);
if (action.isEnabled())
menu.appendToGroup(GEFActionConstants.GROUP_EDIT, action);
action = getActionRegistry().getAction(OPPThingInZoomAction.THING_IN_ZOOM_ID);
if (action.isEnabled())
menu.appendToGroup(GEFActionConstants.GROUP_EDIT, action);
action = getActionRegistry().getAction(OPPCreateObjectAction.ID);
if (action.isEnabled())
menu.appendToGroup(GEFActionConstants.GROUP_EDIT, action);
action = getActionRegistry().getAction(OPPCreateProcessAction.ID);
if (action.isEnabled())